package com.example.travelapplication.database;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.example.travelapplication.dao.AttDao;
import com.example.travelapplication.dao.FavorDao;
import com.example.travelapplication.dao.RsvDao;
import com.example.travelapplication.entity.Attraction;
import com.example.travelapplication.entity.Favor;
import com.example.travelapplication.entity.Reservation;

@Database(entities = {Attraction.class, Favor.class, Reservation.class},version = 1,exportSchema = false)
public abstract class TravelDatabase extends RoomDatabase {
    public abstract AttDao attDao();
    public abstract FavorDao favorDao();
    public abstract RsvDao rsvDao();
}
